package com.pcbly.web.bean.chart;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class ChartDefinitionRefBean extends AbstractBaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5327848789039404352L;
	
	private ChartBean chartBean;
	
	private ChartDefinitionBean chartDefinitionBean;
	
	public ChartBean getChartBean() {
		return chartBean;
	}

	public void setChartBean(ChartBean chartBean) {
		this.chartBean = chartBean;
	}

	public ChartDefinitionBean getChartDefinitionBean() {
		return chartDefinitionBean;
	}

	public void setChartDefinitionBean(ChartDefinitionBean chartDefinitionBean) {
		this.chartDefinitionBean = chartDefinitionBean;
	}

	public ChartDefinitionRefBean() {
		// TODO Auto-generated constructor stub
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
